#include "Mesh/AttributeTemplate.h"

/**********************************
 *          Public
 **********************************/

    /**********************************
     *          Constructors
     **********************************/

        AttributeTemplate::AttributeTemplate(int s, string n, int off){
            Initialize(s,n,-1,off);
        }

        AttributeTemplate::AttributeTemplate(int s, string n, GLuint i, int off){
            Initialize(s,n,i,off);
        }

        void AttributeTemplate::Initialize(int s, string n, GLuint i, int off){
            m_Size      =s;
            m_Name      =n;
            m_Id        =i;
            m_Offset    =off;
        }

        /**********************************
         *          Get/Set
         **********************************/


            int         AttributeTemplate::size(){
                return m_Size;
            }

            GLuint      AttributeTemplate::id(){
                return m_Id;
            }

            string      AttributeTemplate::name(){
                return m_Name;
            }

            int         AttributeTemplate::offset(){
                return m_Offset;
            }


